package dome3;

public class Cat extends Animal {
    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(name + "吃鱼~");
    }
    public void acting() {
        System.out.println(name + "抓老鼠~");
    }
}
